use std::collections::HashSet;

pub fn new_count_distinct(input_str: &str) -> usize {
    let words: Vec<&str> = input_str.split(',').collect();
    let mut set = HashSet::new();
    for w in words {
        set.insert(w);
    }
    set.len()
}
